package cn.edu.scau.cmi.liquan.client;


import cn.edu.scau.cmi.liquan.simpleFactoryMethod.MeatFactory;
import cn.edu.scau.cmi.liquan.simpleFactoryMethod.domain.Meat;

public class SimpleFactoryMethodClient {
public static void main(String[] args) {
		
		
		Meat beaf = MeatFactory.getMeat("beef");
		beaf.cook();
		
		Meat pork = MeatFactory.getMeat("pork");
		pork.cook();
		
		Meat chicken = MeatFactory.getMeat("chicken");
		chicken.cook();

	}
}
